<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">交易账户绑定</h1>
</div>
<!-- toaster directive -->
<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<div class="wrapper-md" ng-controller="capitalCtrl">
    <form class="form-horizontal" name="myForm" novalidate>
        <div class="form-group">
            <label class="col-sm-3 control-label text-left">充值中心账户</label>
            <div class="col-sm-4">
                <input type="text" class="form-control rounded" ng-model="account.username" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label text-left">充值中心密码</label>
            <div class="col-sm-4">
                <input type="password" class="form-control rounded" ng-model="account.password" required>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-4 col-sm-offset-3">
                <button class="btn m-b-xs w-xs btn-success  btn-rounded" ng-disabled="myForm.$invalid || btn_disabled" ng-click="bindAccount()"  ng-if="!accountUserObj['id']">提交</button>
                <button class="btn m-b-xs btn-success  btn-rounded" disabled ng-if="accountUserObj['id']">只能绑定一个充值中心账户</button>
            </div>
        </div>

    </form>

</div>